// 导入封装好的网络请求类工具
import request from '../../../../../utils/request.js';
// 封装各种接口请求
// export const 接口名 = () => Network.get('/路由',参数对象);
//通井结果保存数据 
export const EditPigResult = (form) => {
        return request({
            url: `/pigResult/pigResultUpdate`,
            method: 'put',
            data: form
        })
    }
    //通井结果删除数据
export const DeletePigResult = (pigresultid) => {
        return request({
            url: `/pigResult/pigResultDelete/${pigresultid}`,
            method: 'delete'
        })
    }
    //通井结果查询数据 
export const FindPigResultByCondition = (wellQueryCondition) => {
        return request({
            url: '/pigResult/findPigResultByCondition',
            method: 'post',
            data: wellQueryCondition
        })
    }
    //通井结果新增数据 
export const InsertPigResult = (form) => {
    return request({
        url: "/pigResult/pigResultAdd",
        method: "post",
        data: form
    })
}